package com.baizhi.entity;

import java.io.Serializable;
import java.util.Date;

//拍卖商品实体类
public class Auction implements Serializable {
    private Integer auctionId;//拍卖商品的id编号
    private String auctionName;//拍卖商品的名称
    private Double auctionStartPrice;//拍卖商品的起拍价
    private Double auctionUpset;//拍卖商品的低价
    private Date auctionStartTime;//拍卖品开始时间
    private Date auctionEndTime;//拍卖品结束时间
    private String auctionPic;//拍卖品图片文件的名字
    private String auctionDesc;//拍卖品描述

    public Auction() {
    }

    public Auction(Integer auctionId, String auctionName, Double auctionStartPrice, Double auctionUpset, Date auctionStartTime, Date auctionEndTime, String auctionPic, String auctionDesc) {
        this.auctionId = auctionId;
        this.auctionName = auctionName;
        this.auctionStartPrice = auctionStartPrice;
        this.auctionUpset = auctionUpset;
        this.auctionStartTime = auctionStartTime;
        this.auctionEndTime = auctionEndTime;
        this.auctionPic = auctionPic;
        this.auctionDesc = auctionDesc;
    }

    public Integer getAuctionId() {
        return auctionId;
    }

    public void setAuctionId(Integer auctionId) {
        this.auctionId = auctionId;
    }

    public String getAuctionName() {
        return auctionName;
    }

    public void setAuctionName(String auctionName) {
        this.auctionName = auctionName;
    }

    public Double getAuctionStartPrice() {
        return auctionStartPrice;
    }

    public void setAuctionStartPrice(Double auctionStartPrice) {
        this.auctionStartPrice = auctionStartPrice;
    }

    public Double getAuctionUpset() {
        return auctionUpset;
    }

    public void setAuctionUpset(Double auctionUpset) {
        this.auctionUpset = auctionUpset;
    }

    public Date getAuctionStartTime() {
        return auctionStartTime;
    }

    public void setAuctionStartTime(Date auctionStartTime) {
        this.auctionStartTime = auctionStartTime;
    }

    public Date getAuctionEndTime() {
        return auctionEndTime;
    }

    public void setAuctionEndTime(Date auctionEndTime) {
        this.auctionEndTime = auctionEndTime;
    }

    public String getAuctionPic() {
        return auctionPic;
    }

    public void setAuctionPic(String auctionPic) {
        this.auctionPic = auctionPic;
    }

    public String getAuctionDesc() {
        return auctionDesc;
    }

    public void setAuctionDesc(String auctionDesc) {
        this.auctionDesc = auctionDesc;
    }

    @Override
    public String toString() {
        return "Auction{" +
                "auctionId=" + auctionId +
                ", auctionName='" + auctionName + '\'' +
                ", auctionStartPrice=" + auctionStartPrice +
                ", auctionUpset=" + auctionUpset +
                ", auctionStartTime=" + auctionStartTime +
                ", auctionEndTime=" + auctionEndTime +
                ", auctionPic='" + auctionPic + '\'' +
                ", auctionDesc='" + auctionDesc + '\'' +
                '}';
    }
}
